package com.example.hxds.dr.db.dao;


import com.example.hxds.dr.db.pojo.DriverSettingsEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DriverDao {
    public long hasDriver(Map params);

    public long registerNewDriver(Map param);

    public String selectDriverId(String openId);

    public int updateDriverAuth(Map<String, Object> param);

    public HashMap login(String openId);

    public HashMap searchDriverBaseInfo(Long driverId);

    public ArrayList<HashMap> searchDriverByPage(Map param);

    public long searchDriverCount(Map param);

    public HashMap searchDriverAuth(long driverId);

    public HashMap searchDriverRealSummary(long driverId);

    public int updateDriverRealAuth(Map param);
}




